﻿using PCBase.UIControls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VisionCore
{
    public class PRM_SortST_Sys
    {
        [DisplayName("载入点(与倒膜移载交接)"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public ST_Point Load { get; set; } = new ST_Point();

        [DisplayName("载入点(与机械手交接)"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public ST_Point Unload { get; set; } = new ST_Point();

        [DisplayName("安全点"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public ST_Point Wait { get; set; } = new ST_Point();

        public override string ToString()
        {
            return "...";
        }
        public class ST_Point
        {
            public double X { get; set; }
            public double Y { get; set; }
            public double R { get; set; }

            public ST_Point()
            {
                X = 0;
                Y = 0;
                R = 0;
            }

            public override string ToString()
            {
                return "...";
            }
        }
    }
    public class PRM_SortST_Rec
    {
        [DisplayName("对位点1)"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public ST_Point ALG1 { get; set; } = new ST_Point();

        [DisplayName("对位点2"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public ST_Point ALG2 { get; set; } = new ST_Point();

        [DisplayName("挑拣点"), Browsable(true), ReadOnly(true)]
        [TypeConverter(typeof(PropertiesExpandConverter))]
        public ST_Point Sort { get; set; } = new ST_Point();

        public override string ToString()
        {
            return "...";
        }
        public class ST_Point
        {
            public double X { get; set; }
            public double Y { get; set; }
            public double R { get; set; }

            public ST_Point()
            {
                X = 0;
                Y = 0;
                R = 0;
            }

            public override string ToString()
            {
                return "...";
            }
        }
    }
}



